package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.Epidemic;
import com.pojo.Goods;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ZhaoJiaDong
 * @version 2020.1
 * @date 2022/11/19 0019 14:46
 */
@Repository
public interface EpidemicDao extends BaseMapper<Epidemic> {
    @Insert("insert into epidemic values(null,#{reservation},#{name},#{uid},#{number},#{health},#{type},#{createTime},#{updateTime});")
    public int add(Epidemic epidemic);


}
